package info.rongtong.domain;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Review entity. @author MyEclipse Persistence Tools
 */

public class Review implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -6552243416558806336L;
	private Integer rid;
	private String rname;
	private String remail;
	private String rurl;
	private String rcontent;
	private Date rtime;
	private Integer aid;
	private Integer pid;
	private Integer parentId;

	// Constructors

	/** default constructor */
	public Review() {
	}

	/** minimal constructor */
	public Review(String rname, String remail, Integer aid, Integer pid,Integer parentId) {
		this.rname = rname;
		this.remail = remail;
		this.aid = aid;
		this.pid = pid;
		this.parentId = parentId;
	}

	/** full constructor */
	public Review(String rname, String remail, String rurl, String rcontent,
			Timestamp rtime, Integer aid, Integer pid) {
		this.rname = rname;
		this.remail = remail;
		this.rurl = rurl;
		this.rcontent = rcontent;
		this.rtime = rtime;
		this.aid = aid;
		this.pid = pid;
	}

	// Property accessors

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getRname() {
		return this.rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getRemail() {
		return this.remail;
	}

	public void setRemail(String remail) {
		this.remail = remail;
	}

	public String getRurl() {
		return this.rurl;
	}

	public void setRurl(String rurl) {
		this.rurl = rurl;
	}

	public String getRcontent() {
		return this.rcontent;
	}

	public void setRcontent(String rcontent) {
		this.rcontent = rcontent;
	}

	public Date getRtime() {
		return this.rtime;
	}

	public void setRtime(Date rtime) {
		this.rtime = rtime;
	}

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	
}